function advsearchpopup()
{
	adv = document.getElementById('AdvancedSearch');
	if (adv.style.visibility=='hidden')
	{
		adv.style.visibility='visible';
	}
	else
	{
		adv.style.visibility='hidden';
	}	
}


function pressedButton(selectedButton)
{
	buttons = document.getElementsByName('sbButton');
	for (i = 0; i < buttons.length; i++)
	{
		buttons[i].style.color = '';
		buttons[i].style.fontWeight = '';
	}
	selectedButton.style.color = 'black';
	selectedButton.style.fontWeight = 'bold';
}
